package cloud.shyidong.core.util;

import java.util.Map;

/**
 * @Description TODO
 * @Author syd
 * @Date 2023/3/30
 */
public final class MapUtils {
    
    public static boolean isEmpty(Map map) {
        if (map == null) {
            return true;
        }
        if (map.isEmpty()) {
            return true;
        }
        return false;
    }
    
    public static boolean isNotEmpty(Map map) {
        return !isEmpty(map);
    }
    
}
